package com.liang.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//ribbon 和 eureka整合以后，客户端可以直接调用，不用关心ip 和 端口号
//消费者主启动类
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.liang.springcloud"})
public class FeignDeptConsumer_88 {
    public static void main(String[] args) {
        SpringApplication.run(FeignDeptConsumer_88.class, args);
    }

}
